<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    .dice {
        display: inline-grid;
        grid-row-gap: 5px;
    }

    .box {
        display: grid;
        width: 100px;
        height: 100px;
        border-radius: 15%;
        background-color: #666;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr;
    }

    .box2 {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        border: 5px inset black;
        background-color: #000;
        place-self: center center;
    }

    .son1,
    .son3,
    .son10 {
        grid-area: 2/2/3/3;
    }

    .son2,
    .son4,
    .son7,
    .son9,
    .son17 {
        grid-area: 3/3/4/4;
    }

    .son5,.son8,.son14 {
        grid-area: 3/1/4/2;
    }

    .son6,
    .son11,.son12 {
        grid-area: 1/3/2/4;
    }
    .son15{
        grid-area: 2/3/3/4;
    }
    .son16{
        grid-area: 2/1/3/2;
    }
</style>

<body>
    <div class="dice">
        <div class="box">
            <div class="box2 son1"></div>
        </div>
        <div class="box">
            <div class="box2"></div>
            <div class="box2 son2"></div>
        </div>
        <div class="box">
            <div class="box2"></div>
            <div class="box2 son3"></div>
            <div class="box2 son4"></div>
        </div>
        <div class="box">
            <div class="box2"></div>
            <div class="box2 son5"></div>
            <div class="box2 son6"></div>
            <div class="box2 son7"></div>
        </div>
        <div class="box">
            <div class="box2"></div>
            <div class="box2 son8"></div>
            <div class="box2 son9"></div>
            <div class="box2 son10"></div>
            <div class="box2 son11"></div>
        </div>
        <div class="box">
            <div class="box2 son12"></div>
            <div class="box2 son13"></div>
            <div class="box2 son14"></div>
            <div class="box2 son15"></div>
            <div class="box2 son16"></div>
            <div class="box2 son17"></div>
        </div>
        <div class="box">
            <div class="box2"></div>
            <div class="box2"></div>
            <div class="box2"></div>
            <div class="box2"></div>
            <div class="box2"></div>
            <div class="box2"></div>
            <div class="box2"></div>
            <div class="box2"></div>
            <div class="box2"></div>
        </div>
    </div>
</body>

</html>